using UnityEngine;

public class ButShowControllSettings : MonoBehaviour
{
	private void OnClick()
	{
		if (controllerMenu.thisScript != null)
		{
			controllerMenu.thisScript.ShowControllSettings();
		}
		else if (GameController.instance != null)
		{
			PauseWindow.instance.ShowControlSettings();
		}
	}
}
